package cts.com.jaxb;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "transactionBean")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "transId", "fromAccountNo", "fromIFSC", "toAccountNo",
		"toIFSC", "amount", "date", "time", "description" })
public class TransactionBean {

	private String transId;
	private String fromAccountNo;
	private String fromIFSC;
	private String toAccountNo;
	private String toIFSC;
	private double amount;
	private String date;
	private String time;
	private String transTimeStamp;
	private String transType;
	private double currentBalance;
	
	private String description;
	@XmlElement(name = "transId")
	/**
	 * @return the transId
	 */
	public String getTransId() {
		return transId;
	}
	/**
	 * @param transId the transId to set
	 */
	public void setTransId(String transId) {
		this.transId = transId;
	}
	/**
	 * @return the fromAccountNo
	 */
	public String getFromAccountNo() {
		return fromAccountNo;
	}
	/**
	 * @param fromAccountNo the fromAccountNo to set
	 */
	public void setFromAccountNo(String fromAccountNo) {
		this.fromAccountNo = fromAccountNo;
	}
	/**
	 * @return the fromIFSC
	 */
	public String getFromIFSC() {
		return fromIFSC;
	}
	/**
	 * @param fromIFSC the fromIFSC to set
	 */
	public void setFromIFSC(String fromIFSC) {
		this.fromIFSC = fromIFSC;
	}
	/**
	 * @return the toAccountNo
	 */
	public String getToAccountNo() {
		return toAccountNo;
	}
	/**
	 * @param toAccountNo the toAccountNo to set
	 */
	public void setToAccountNo(String toAccountNo) {
		this.toAccountNo = toAccountNo;
	}
	/**
	 * @return the toIFSC
	 */
	public String getToIFSC() {
		return toIFSC;
	}
	/**
	 * @param toIFSC the toIFSC to set
	 */
	public void setToIFSC(String toIFSC) {
		this.toIFSC = toIFSC;
	}
	/**
	 * @return the amount
	 */
	public double getAmount() {
		return amount;
	}
	/**
	 * @param amount the amount to set
	 */
	public void setAmount(double amount) {
		this.amount = amount;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}
	/**
	 * @return the time
	 */
	public String getTime() {
		return time;
	}
	/**
	 * @param time the time to set
	 */
	public void setTime(String time) {
		this.time = time;
	}
	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return the transTimeStamp
	 */
	public String getTransTimeStamp() {
		return transTimeStamp;
	}
	/**
	 * @param transTimeStamp the transTimeStamp to set
	 */
	public void setTransTimeStamp(String transTimeStamp) {
		this.transTimeStamp = transTimeStamp;
	}
	/**
	 * @return the transType
	 */
	public String getTransType() {
		return transType;
	}
	/**
	 * @param transType the transType to set
	 */
	public void setTransType(String transType) {
		this.transType = transType;
	}
	/**
	 * @return the currentBalance
	 */
	public double getCurrentBalance() {
		return currentBalance;
	}
	/**
	 * @param currentBalance the currentBalance to set
	 */
	public void setCurrentBalance(double currentBalance) {
		this.currentBalance = currentBalance;
	}
	
} 